<template>
  <router-view />
</template>

<script setup lang="ts">
import { onMounted } from 'vue';
import { useUserStore } from './stores/user';

const userStore = useUserStore();

onMounted(() => {
  userStore.initStore();
});
</script>

<style>
/* You might want to move global styles from style.css here or ensure they are loaded correctly */
#app {
  /* Ensure #app takes up viewport if your layout needs it, or remove if not necessary */
  /* max-width: 1280px; /* Example from default Vite, adjust as needed */
  margin: 0 auto;
  /* padding: 2rem; /* Example from default Vite, adjust as needed */
  text-align: center; /* Example from default Vite, adjust as needed */
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
}
/* Keep other global styles in src/style.css or import them here */
</style>